package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-30
 */
@Data
@DbTable(tableName = "t_store_inout_detail")
public class StoreInoutDetail extends BaseEntity {
        /**
     * 出入库Id t_stroe_inout.c_id
     */
    @DbTableField(columnName = "c_inout_id", dbType = DbTypeEnum.INTEGER)
    public Integer inoutId ;

    /**
     * 物品Id  t_store_info.c_id
     */
    @DbTableField(columnName = "c_store_id", dbType = DbTypeEnum.INTEGER)
    public Integer storeId ;

    /**
     * 物品名称
     */
    @DbTableField(columnName = "c_store_name", dbType = DbTypeEnum.VARCHAR)
    public String storeName ;

    /**
     * 物品类型名称
     */
    @DbTableField(columnName = "c_store_type_name", dbType = DbTypeEnum.VARCHAR)
    public String storeTypeName ;

    /**
     * 物品单位
     */
    @DbTableField(columnName = "c_store_unit", dbType = DbTypeEnum.VARCHAR)
    public String storeUnit ;

    /**
     * 供应商
     */
    @DbTableField(columnName = "c_supplier", dbType = DbTypeEnum.VARCHAR)
    public String supplier ;

    /**
     * 出入库数量
     */
    @DbTableField(columnName = "c_num", dbType = DbTypeEnum.INTEGER)
    public Integer num ;

    /**
     * 类别(1:入库，2:出库)
     */
    @DbTableField(columnName = "c_type", dbType = DbTypeEnum.INTEGER)
    public Integer type ;

    /**
     * 所属仓库
     */
    @DbTableField(columnName = "c_house_name", dbType = DbTypeEnum.VARCHAR)
    public String houseName ;

}
